package com.mutual.assistance.user.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @description 资源菜单表
 */
@Data
@TableName("menu")
public class MenuPO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String code;

    private String pId;

    private String menuName;

    private String url;

    private Integer isMenu;

    private Integer level;

    private Integer sort;

    private String status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
